package com.maket.scxx.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.util.Date;

import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 班组与成员表
* @TableName team_members
*/
public class TeamMembers extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
    * 
    */
    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer teamId;
    /**
    * 
    */
    @NotBlank(message="[]不能为空")
    @Size(max= 16,message="编码长度不能超过16")
    @ApiModelProperty("")
    @Length(max= 16,message="编码长度不能超过16")
    private String bzCode;
    /**
    * 
    */
    @NotBlank(message="[]不能为空")
    @Size(max= 16,message="编码长度不能超过16")
    @ApiModelProperty("")
    @Length(max= 16,message="编码长度不能超过16")
    private String userId;

    private String nickName;
    /**
    * 
    */
    @NotBlank(message="[]不能为空")
    @Size(max= 20,message="编码长度不能超过20")
    @ApiModelProperty("")
    @Length(max= 20,message="编码长度不能超过20")
    private String createMan;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
    * 
    */
    public void setTeamId(Integer teamId){
    this.teamId = teamId;
    }

    /**
    * 
    */
    public void setBzCode(String bzCode){
    this.bzCode = bzCode;
    }

    /**
    * 
    */
    public void setUserId(String userId){
    this.userId = userId;
    }

    /**
    * 
    */
    public void setCreateMan(String createMan){
    this.createMan = createMan;
    }


    /**
    * 
    */
    public Integer getTeamId(){
    return this.teamId;
    }

    /**
    * 
    */
    public String getBzCode(){
    return this.bzCode;
    }

    /**
    * 
    */
    public String getUserId(){
    return this.userId;
    }

    /**
    * 
    */
    public String getCreateMan(){
        return this.createMan;
    }

    @Override
    public String toString() {
        return "TeamMembers{" +
                "teamId=" + teamId +
                ", bzCode='" + bzCode + '\'' +
                ", userId='" + userId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", createMan='" + createMan + '\'' +
                '}';
    }
}
